<!DOCTYPE html>
<html>
	<head>
		<meta content="text/html;charset=UTF-8" http-equiv="Content-Type" />
		<!-- Mobile Devices Support @begin -->
		<meta content="no-cache,must-revalidate" http-equiv="Cache-Control" />
		<meta content="no-cache" http-equiv="pragma" />
		<meta content="0" http-equiv="expires" />
		<meta content="telephone=no, address=no" name="format-detection" />
		<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
		<!-- Mobile Devices Support @end -->
		<title>{$game['title']}</title>
		<link rel="stylesheet" href="{$UrlPath}/css/style.css" />
		<link rel="stylesheet" href="{$UrlPath}/css/main.css">
		<script type="text/javascript" src="{$UrlPath}/js/jquery.js"></script>
		<script type="text/javascript" src="{$UrlPath}/js/common.js"></script>
		<style>
			html {
				font-size: 312.5%;
			}
			.page_prize::before{
				{if $game['prize_bg']}
				background: url({$game['prize_bg']}) no-repeat 0 bottom;
				{else}
				background: url({$UrlPath}/images/bg_explain.png) no-repeat 0 bottom;
				{/if}
				background-size: cover;
			    position: fixed;
			    top: 0;
			    left: 0;
			    z-index: -1;
			}
		</style>
		<script>
			init_rem();

			function init_rem() {
				var iw = 750;
				//            var w = window.innerWidth;
				var w = $(window).width();
				/*if(w>375){
				    w = 375;
				}*/
				var irate = 625 / (iw / w);
				/*if(irate > 298.3333333333333){
				    irate = 288.3333333333333;
				}*/
				var str = 'html{font-size:' + irate + '%' + '}';
				var h_style = document.createElement("style");
				h_style.setAttribute("type", "text/css");
				h_style.innerHTML = str;
				document.getElementsByTagName('head')[0].appendChild(h_style);
			}
		</script>
	</head>

	<body>
		<div class="page_prize">
			<p style="height: 0.52rem;"></p>
			<div class="top_box">
				<p class="title">奖项</p>
			</div>

			<div class="box_prize">
                                {loop $prizes $k $v}
                                
				{if $k == 0}
				<div class="item clearfix">
					<p class="tip clearfix">
						<img src="{$UrlPath}/images/cup_gold.png" alt="">
						<span>{$v[0]}</span>
					</p>
					<p class="two_name">{$v[1]}</p>
					<p class="photo">
						{if $v[2]}<img src="{$v[2]}" alt="" />{/if}
					</p>
				</div>
				{elseif $k == 1}
				<div class="item clearfix">
					<p class="tip clearfix">
						<img src="{$UrlPath}/images/cup_sliver.png" alt="">
							<span>{$v[0]}</span>
					</p>
					<p class="two_name">{$v[1]}</p>
					<p class="photo">
						{if $v[2]}<img src="{$v[2]}" alt="" />{/if}
					</p>
				</div>
				{elseif $k == 2}
				<div class="item clearfix">
					<p class="tip clearfix">
						<img src="{$UrlPath}/images/cup_bronze.png" alt="">
							<span>{$v[0]}</span>
					</p>
					<p class="two_name">{$v[1]}</p>
					<p class="photo">
						{if $v[2]}<img src="{$v[2]}" alt="" />{/if}
					</p>
				</div>
				{else}
				<div class="item clearfix">
					<p class="tip clearfix">
						<img src="{$UrlPath}/images/other.png" alt="">
						<span>{$v[0]}</span>
					</p>
					<p class="two_name">{$v[1]}</p>
					<p class="photo">
						{if $v[2]}<img src="{$v[2]}" alt="" />{/if}
					</p>
				</div>
				{/if}
				{/loop}
			</div>
			{if $game['p_shuoming']}
			<div class="prize_explain">
				{$game['p_shuoming']}
			</div>
			{/if}
			{if $game['p_zanzhu']}
			<div class="other_explain">
				{$game['p_zanzhu']}
			</div>
			{/if}
		</div>
	</body>

</html>